﻿using System.ServiceModel;
using Ayatta.Contract;
using Ayatta.Contract.Component;

namespace Ayatta.Contract
{
    /// <summary>
    /// 上传文件类
    /// </summary>
    [ServiceContract(Namespace = ServiceContract.Namespace)]
    public interface IUploadService
    {
        /// <summary>
        /// 上传文件
        /// </summary>
        /// <param name="uploadFile">待上传文件(文件最大为10M)</param>
        [OperationContract(IsOneWay = true)]
        void UploadFile(UploadFileInfo uploadFile);
    }
}